import java.util.Arrays;

public class Test2 {


    public static void main(String[] args) {
        int[] arry = {1,2,3,4,5};
        System.out.println(arry.toString());

        String str = "hello";
        System.out.println(str.toString());
    }

    public static void main3(String[] args) {
        String str = "abcdef";
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(str);
        for (int i = 0; i < 10; i++) {
            stringBuilder.append("123");
        }
        str = stringBuilder.toString();
        System.out.println(str);
    }



    public static void main2(String[] args) {
        String str = "abcdef";
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(str);
        stringBuilder.append("123");
        //str = stringBuilder.toString();
        System.out.println(stringBuilder);
    }


    public static void main1(String[] args) {
        String str = "abcdef";
        for (int i = 0; i < 10; i++) {
            str += "123";
        }
        System.out.println(str);
    }
}